<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/jsp/comm_css_include.jsp"%>
<!doctype html>
<html>
<head>
 <style type="text/css">
	* {
		margin: 0px;
		padding: 0px;
		font-size: 12px;
	}
	
	.buyinfor-table tr td button {
		margin-top: 12px;
	}
  </style>
</head>
<body class="gray-bg">

	<!-- 隐藏域 -->
	<input type="hidden" value="${busiId}" id="busiId" name="busiId" />
	<input type="hidden" id="id" name="id" />
	<input type="hidden" id="dzMortgage_id" name="dzMortgage_id" />

	<input type="hidden" id="replaceId" name="replaceId" />
	<input type="hidden" id="status_mortgage_info" name="status_mortgage_info" />
	<!-- 隐藏域 -->

	<div class="container creditbody">
		<div class="iboxtitle">
			<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;贷中业务>抵押确认</span>
			<a href="javascript:void(0)"></a>
		</div>
		<div class="ibox-content ibox-con">
			<form class="form-horizontal" id="commentForm">
				<%@include file="/jsp/common_yw_include.jsp"%>
				<%@include file="/jsp/common_car_include.jsp"%>
				<div class="business-manwife">车牌信息</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table list-table-detail">
						<tr>
							<td align="right"><label class="control-label">上牌地：</label></td>
							<td>
								<div class="control-div np" id="che_region" name="">${businessCar[0].get('registration_area')}</div>
							</td>
							<td align="right"><label class="control-label">车管所：</label></td>
							<td>
								<div class="control-div np" id="che_dvm" name="">${businessCar[0].get('dvm')}</div>
							</td>
						</tr>
			
						<tr>
			
							<td align="right"><label class="control-label">车牌号：</label></td>
							<td>
								<div class="control-div np" id="che_licensePlate" name="">${businessCar[0].get('license_plate')}</div>
							</td>
			
							<td align="right"><label class="control-label">机动车登记证号：</label>
							</td>
							<td>
								<div class="control-div np" id="che_registrationNumber" name="">${businessCar[0].get('registration_number')}</div>
							</td>
						</tr>
			
						<tr>
							<td align="right"><label class="control-label">新车上牌时间：</label>
							</td>
							<td>
								<div class="control-div np" id="che_dateRegistrationFirst" name="">${businessCar[0].get('date_registration_first')}</div>
							</td>
							<td align="right"><label class="control-label">本次上牌登记时间：</label>
							</td>
							<td>
								<div class="control-div np" id="che_dateRegistrationNow" name="">${businessCar[0].get('date_registration_now')}</div>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label">备注：</label></td>
							<td colspan="3">
								<div class="control-div np" id="che_remarks" name="">${businessCar[0].get('remarks')}</div>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label">银行放款时间：</label></td>
							<td colspan="3">
								<div class="control-div np" id="che_remarks" name="">${timeLending}</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="business-manwife">抵押信息</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table list-table-detail">
						<tr>
							<td align="right"><label class="control-label">实际抵押时间：</label></td>
							<td>
								<div class="control-div np" id="dateMortgage" name=""></div>
							</td>
							<td align="right"><label class="control-label">抵押状态：</label></td>
							<td>
								<div class="control-div np" id="statusMortgage" name=""></div>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label">备注：</label></td>
							<td colspan="3">
								<div class="control-div np" id="remarks" name=""></div>
							</td>
						</tr>
					</table>
				</div>	
										
				<div class="business-manwife">抵押信息登记</div>
				<div class="padding-nono">
					<table cellpadding="0" cellspacing="0" border="0" class="buyinfor-table">
						<tr>
							<td align="right"><label class="control-label np">登记证书原件：</label>
							</td>
							<td><input id="date_djzsyj" name="date_djzsyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate({istime:false,format:'YYYY-MM-DD'})" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_djzsyj"
								name="operator_djzsyj" value="${current_user_key.id}" /> <input
								type="text" id="name_operator_djzsyj"
								name="name_operator_djzsyj" readonly="readonly"
								class="form-control" value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_djzsyj" name="time_djzsyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(1,1);" id="upBaoCun1">保存</button>
							    <button type="button" class="btn dpbtn_red" onclick="up(1,2);" id="empty1" name="empty1">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">发票原件：</label>
							</td>
							<td><input id="date_fpyj" name="date_fpyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_fpyj"
								name="operator_fpyj" value="${current_user_key.id}" /> <input
								id="name_operator_fpyj" name="name_operator_fpyj"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_fpyj" name="time_fpyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate({istime:false,format:'YYYY-MM-DD'})" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(2,1);" id="upBaoCun2">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(2,2);" id="empty2" name="empty2">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">暂住证原件：</label>
							</td>
							<td><input id="date_zzzyj" name="date_zzzyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" />
							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_zzzyj"
								name="operator_zzzyj" value="${current_user_key.id}" /> <input
								id="name_operator_zzzyj" name="name_operator_zzzyj"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_zzzyj" name="time_zzzyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(3,1);" id="upBaoCun3">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(3,2);" id="empty3" name="empty3">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">商业保险原件：</label>
							</td>
							<td><input id="date_sybxyj" name="date_sybxyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_sybxyj"
								name="operator_sybxyj" value="${current_user_key.id}" /> <input
								id="name_operator_sybxyj" name="name_operator_sybxyj"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_sybxyj" name="time_sybxyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(4,1);" id="upBaoCun4">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(4,2);" id="empty4" name="empty4">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">交强险保单原件：</label>
							</td>
							<td><input id="date_jqxbdyj" name="date_jqxbdyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_jqxbdyj"
								name="operator_jqxbdyj" value="${current_user_key.id}" /> <input
								id="name_operator_jqxbdyj" name="name_operator_jqxbdyj"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>
							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_jqxbdyj" name="time_jqxbdyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(5,1);" id="upBaoCun5">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(5,2);" id="empty5" name="empty5">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">行驶证复印件：</label>
							</td>
							<td><input id="date_xszfyj" name="date_xszfyj"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_xszfyj"
								name="operator_xszfyj" value="${current_user_key.id}" /> <input
								id="name_operator_xszfyj" name="name_operator_xszfyj"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_xszfyj" name="time_xszfyj"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(6,1);" id="upBaoCun6">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(6,2);" id="empty6" name="empty6">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label dp-color-red">公证材料送银行盖章：</label>
							</td>
							<td><input id="date_gzclsyhgz" name="date_gzclsyhgz"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label dp-color-red">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_gzclsyhgz"
								name="operator_gzclsyhgz" value="${current_user_key.id}" /> <input
								id="name_operator_gzclsyhgz" name="name_operator_gzclsyhgz"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label dp-color-red">经办时间：</label>
							</td>
							<td><input id="time_gzclsyhgz" name="time_gzclsyhgz"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(7,1);" id="upBaoCun7">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(7,2);" id="empty7" name="empty7">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label dp-color-red">公证材料银行盖章返回：</label>
							</td>
							<td><input id="date_gzclyhgzfh" name="date_gzclyhgzfh"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td align="right"><label class="control-label dp-color-red">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_gzclyhgzfh"
								name="operator_gzclyhgzfh" value="${current_user_key.id}" /> <input
								id="name_operator_gzclyhgzfh" name="name_operator_gzclyhgzfh"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>
							<td align="right"><label class="control-label dp-color-red">经办时间：</label>
							</td>
							<td><input id="time_gzclyhgzfh" name="time_gzclyhgzfh"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(8,1);" id="upBaoCun8">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(8,2);" id="empty8" name="empty8">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label dp-color-red">公证材料送公证处：</label>
							</td>
							<td><input id="date_gzclsgzc" name="date_gzclsgzc"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td align="right"><label class="control-label dp-color-red">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_gzclsgzc"
								name="operator_gzclsgzc" value="${current_user_key.id}" /> <input
								id="name_operator_gzclsgzc" name="name_operator_gzclsgzc"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>
							<td align="right"><label class="control-label dp-color-red">经办时间：</label>
							</td>
							<td><input id="time_gzclsgzc" name="time_gzclsgzc"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(9,1);" id="upBaoCun9">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(9,2);" id="empty9" name="empty9">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label dp-color-red ">公证处公证合同返回：</label>
							</td>
							<td><input id="date_gzcgzhtfh" name="date_gzcgzhtfh"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label dp-color-red">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_gzcgzhtfh"
								name="operator_gzcgzhtfh" value="${current_user_key.id}" /> <input
								id="name_operator_gzcgzhtfh" name="name_operator_gzcgzhtfh"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label dp-color-red">经办时间：</label>
							</td>
							<td><input id="time_gzcgzhtfh" name="time_gzcgzhtfh"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(10,1);" id="upBaoCun10">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(10,2);" id="empty10" name="empty10">清空</button>
							</td>
						</tr>
						
						<tr>
							<td align="right"><label class="control-label dp-color-red">公证及抵押材料返回公司：</label>
							</td>
							<td><input id="date_gzjdyclfhgs" name="date_gzjdyclfhgs"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label dp-color-red">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_gzjdyclfhgs"
								name="operator_gzjdyclfhgs" value="${current_user_key.id}" /> <input
								id="name_operator_gzjdyclfhgs" name="name_operator_gzjdyclfhgs"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label dp-color-red">经办时间：</label>
							</td>
							<td><input id="time_gzjdyclfhgs" name="time_gzjdyclfhgs"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(11,1);" id="upBaoCun11">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(11,2);" id="empty11" name="empty11">清空</button>
							</td>
						</tr>
						
						<tr>
							<td align="right"><label class="control-label np">实际公证时间：</label>
							</td>
							<td><input id="date_sjgz" name="date_sjgz"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>

							<td><input type="hidden" id="operator_sjgz"
								name="operator_sjgz" value="${current_user_key.id}" /> <input
								id="name_operator_sjgz" name="name_operator_sjgz"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_sjgz" name="time_sjgz"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(12,1);" id="upBaoCun12">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(12,2);" id="empty12" name="empty12">清空</button>
							</td>
						</tr>
						
						<tr>
							<td align="right"><label class="control-label np">抵押材料送银行盖章：</label>
							</td>
							<td><input id="date_dyclsyhgz" name="date_dyclsyhgz"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_dyclsyhgz"
								name="operator_dyclsyhgz" value="${current_user_key.id}" /> <input
								id="name_operator_dyclsyhgz" name="name_operator_dyclsyhgz"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_dyclsyhgz" name="time_dyclsyhgz"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(13,1);" id="upBaoCun13">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(13,2);" id="empty13" name="empty13">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">抵押材料银行盖章返回：</label>
							</td>
							<td><input id="date_dyclyhgzfh" name="date_dyclyhgzfh"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_dyclyhgzfh"
								name="operator_dyclyhgzfh" value="${current_user_key.id}" /> <input
								id="name_operator_dyclyhgzfh" name="name_operator_dyclyhgzfh"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_dyclyhgzfh" name="time_dyclyhgzfh"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(14,1);" id="upBaoCun14">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(14,2);" id="empty14" name="empty14">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">抵押材料交送抵押人员：</label>
							</td>
							<td><input id="date_dyclsdyry" name="date_dyclsdyry"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_dyclsdyry"
								name="operator_dyclsdyry" value="${current_user_key.id}" /> <input
								id="name_operator_dyclsdyry" name="name_operator_dyclsdyry"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_dyclsdyry" name="time_dyclsdyry"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(15,1);" id="upBaoCun15">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(15,2);" id="empty15" name="empty15">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">抵押完成登记证书返回：</label>
							</td>
							<td><input id="date_dywcdjzsfh" name="date_dywcdjzsfh"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>

							<td align="right"><label class="control-label np">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_dywcdjzsfh"
								name="operator_dywcdjzsfh" value="${current_user_key.id}" /> <input
								id="name_operator_dywcdjzsfh" name="name_operator_dywcdjzsfh"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_dywcdjzsfh" name="time_dywcdjzsfh"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(16,1);" id="upBaoCun16">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(16,2);" id="empty16" name="empty16">清空</button>
							</td>
						</tr>
						<tr>
							<td align="right"><label class="control-label np">抵押完成权证移交银行：</label>
							</td>
							<td><input id="date_dywcqzyjyh" name="date_dywcqzyjyh"
								placeholder="请输入时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td align="right"><label class="control-label np">经办人：</label>
							</td>
							<td><input type="hidden" id="operator_dywcqzyjyh"
								name="operator_dywcqzyjyh" value="${current_user_key.id}" /> <input
								id="name_operator_dywcqzyjyh" name="name_operator_dywcqzyjyh"
								readonly="readonly" class="form-control"
								value="${current_user_key.uname}" /></td>

							<td align="right"><label class="control-label np">经办时间：</label>
							</td>
							<td><input id="time_dywcqzyjyh" name="time_dywcqzyjyh"
								placeholder="经办时间" class="laydate-icon form-control"
								onclick="laydate()" /></td>
							<td>
								<button type="button" class="btn dpbtn_blue btnaplly" onclick="up(17,1);" id="upBaoCun17">保存</button>
								<button type="button" class="btn dpbtn_red" onclick="up(17,2);" id="empty17" name="empty17">清空</button>
							</td>
						</tr>
					</table>
				</div>
				<!-- 当前经办人 -->
				<%@include file="/jsp/comm_current_person_include.jsp"%>
			</form>
		</div>
		<!-- public quote -->
		<%@include file="/jsp/comm_js_include.jsp"%>
		<!-- summernote -->
		<%@include file="/js/common-dpqc/dpqc-summernote/comm_summernote_include.jsp"%>

		<!-- layerDate plugin javascript -->
		<script src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>

		<%@include file="/js/common-dpqc/dpqc-validate/comm_validate_include.jsp"%>

		<!--
    	时间：2017-04-06
    	描述：js
    -->
		<script type="text/javascript">
	    
	    var winWidth = $(window).width();
		var winHeight = $(window).height();
		
	    jQuery(function($) {
	    	initData();
	    });
	    
	    var initData = function()
	    {
	    	var busiId = $('#busiId').val();
	    	
	    	$.dpAjax({
	    		url:'${basePath}/DaiZhongYwController/daiZhongYwDiYaQueRrnList',
	    		data:{
	    			"busiId":busiId
	    		},
	    		success: function(datas){
    				  var d = datas.dzMortgageSub;
					  if(null != d && d != "")
					  {
						  $('#id').val(d.replaceId);
	    				  
						  $('#date_djzsyj').val(d.dateDjzsyj ? formateToDate(d.dateDjzsyj) : '');
						  if(null != d.operatorDjzsyj && d.operatorDjzsyj != ""){$('#operator_djzsyj').val(d.operatorDjzsyj);}
						  if(null != d.nameOperatorDjzsyj && d.nameOperatorDjzsyj != ""){$('#name_operator_djzsyj').val(d.nameOperatorDjzsyj);}
						  $('#time_djzsyj').val(d.timeDjzsyj ? formateToDate(d.timeDjzsyj) : '');
	    				  
						  $('#date_fpyj').val(d.dateFpyj ? formateToDate(d.dateFpyj) : '');
	    				  if(null != d.operatorFpyj && d.operatorFpyj != ""){$('#operator_fpyj').val(d.operatorFpyj);}
						  if(null != d.name_operatorFpyj && d.name_operatorFpyj != ""){$('#name_operator_fpyj').val(d.name_operatorFpyj);}
						  $('#time_fpyj').val(d.timeFpyj ? formateToDate(d.timeFpyj) : '');
						  
						  $('#date_zzzyj').val(d.dateZzzyj ? formateToDate(d.dateZzzyj) : '');
						  if(null != d.operatorZzzyj && d.operatorZzzyj != ""){$('#operator_zzzyj').val(d.operatorZzzyj);}
						  if(null != d.nameOperatorZzzyj && d.nameOperatorZzzyj != ""){$('#name_operator_zzzyj').val(d.nameOperatorZzzyj);}
						  $('#time_zzzyj').val(d.timeZzzyj ? formateToDate(d.timeZzzyj) : '');
						  
						  $('#date_sybxyj').val(d.dateSybxyj ? formateToDate(d.dateSybxyj) : '');
						  if(null != d.operatorSybxyj && d.operatorSybxyj != ""){$('#operator_sybxyj').val(d.operatorSybxyj);}
						  if(null != d.nameOperatorSybxyj && d.nameOperatorSybxyj != ""){$('#name_operator_sybxyj').val(d.nameOperatorSybxyj);}
						  $('#time_sybxyj').val(d.timeSybxyj ? formateToDate(d.timeSybxyj) : '');

						  $('#date_jqxbdyj').val(d.dateJqxbdyj ? formateToDate(d.dateJqxbdyj) : '');
						  if(null != d.operatorJqxbdyj && d.operatorJqxbdyj != ""){$('#operator_jqxbdyj').val(d.operatorJqxbdyj);}
						  if(null != d.nameOperatorJqxbdyj && d.nameOperatorJqxbdyj != ""){$('#name_operator_jqxbdyj').val(d.nameOperatorJqxbdyj);}
						  $('#time_jqxbdyj').val(d.timeJqxbdyj ? formateToDate(d.timeJqxbdyj) : '');
						  
						  $('#date_xszfyj').val(d.dateXszfyj ? formateToDate(d.dateXszfyj) : '');
						  if(null != d.operatorXszfyj && d.operatorXszfyj != ""){$('#operator_xszfyj').val(d.operatorXszfyj);}
						  if(null != d.nameOperatorXszfyj && d.nameOperatorXszfyj != ""){$('#name_operator_xszfyj').val(d.nameOperatorXszfyj);}							  
						  $('#time_xszfyj').val(d.timeXszfyj ? formateToDate(d.timeXszfyj) : '');
						
						  $('#date_gzclsyhgz').val(d.dateGzclsyhgz ? formateToDate(d.dateGzclsyhgz) : '');
						  if(null != d.operatorGzclsyhgz && d.operatorGzclsyhgz != d.operatorGzclsyhgz){$('#operator_gzclsyhgz').val(d.operatorGzclsyhgz);}
						  if(null != d.nameOperatorGzclsyhgz && d.nameOperatorGzclsyhgz != ""){$('#name_operator_gzclsyhgz').val(d.nameOperatorGzclsyhgz);}
						  $('#time_gzclsyhgz').val(d.timeGzclsyhgz ? formateToDate(d.timeGzclsyhgz) : '');
						  
						  $('#date_gzclyhgzfh').val(d.dateGzclyhgzfh ? formateToDate(d.dateGzclyhgzfh) : '');
						  if(null != d.operatorGzclyhgzfh && d.operatorGzclyhgzfh != ""){$('#operator_gzclyhgzfh').val(d.operatorGzclyhgzfh);}
						  if(null != d.nameOperatorGzclyhgzfh && d.nameOperatorGzclyhgzfh != ""){$('#name_operator_gzclyhgzfh').val(d.nameOperatorGzclyhgzfh);}
						  $('#time_gzclyhgzfh').val(d.timeGzclyhgzfh ? formateToDate(d.timeGzclyhgzfh) : '');


						  $('#date_gzclsgzc').val(d.dateGzclsgzc ? formateToDate(d.dateGzclsgzc) : '');
						  if(null != d.operatorGzclsgzc && d.operatorGzclsgzc != ""){$('#operator_gzclsgzc').val(d.operatorGzclsgzc);}
						  if(null != d.nameOperatorGzclsgzc && d.nameOperatorGzclsgzc != ""){$('#name_operator_gzclsgzc').val(d.nameOperatorGzclsgzc);}
						  $('#time_gzclsgzc').val(d.timeGzclsgzc ? formateToDate(d.timeGzclsgzc) : '');


						  $('#date_gzcgzhtfh').val(d.dateGzcgzhtfh ? formateToDate(d.dateGzcgzhtfh) : '');
						  if(null != d.operatorGzcgzhtfh && d.operatorGzcgzhtfh != ""){$('#operator_gzcgzhtfh').val(d.operatorGzcgzhtfh);}
						  if(null != d.nameOperatorGzcgzhtfh  && d.nameOperatorGzcgzhtfh != ""){$('#name_operator_gzcgzhtfh').val(d.nameOperatorGzcgzhtfh);}
						  $('#time_gzcgzhtfh').val(d.timeGzcgzhtfh ? formateToDate(d.timeGzcgzhtfh) : '');
						  
						  $('#date_gzjdyclfhgs').val(d.dateGzjdyclfhgs ? formateToDate(d.dateGzjdyclfhgs) : '');
						  if(null != d.operatorGzjdyclfhgs && d.operatorGzjdyclfhgs != ""){$('#operator_gzjdyclfhgs').val(d.operatorGzjdyclfhgs);}
						  if(null != d.nameOperatorGzjdyclfhgs && d.nameOperatorGzjdyclfhgs != ""){$('#name_operator_gzjdyclfhgs').val(d.nameOperatorGzjdyclfhgs);}
						  $('#time_gzjdyclfhgs').val(d.timeGzjdyclfhgs ? formateToDate(d.timeGzjdyclfhgs) : '');
						  
						  $('#date_sjgz').val(d.dateSjgz ? formateToDate(d.dateSjgz) : '');
						  if(null != d.operatorSjgz && d.operatorSjgz != ""){$('#operator_sjgz').val(d.operatorSjgz);}
						  if(null != d.nameOperatorSjgz && d.nameOperatorSjgz != ""){$('#name_operator_sjgz').val(d.nameOperatorSjgz);}
						  $('#time_sjgz').val(d.timeSjgz ? formateToDate(d.timeSjgz) : '');


						  $('#date_dyclsyhgz').val(d.dateDyclsyhgz ? formateToDate(d.dateDyclsyhgz) : '');
						  if(null != d.operatorDyclsyhgz && d.operatorDyclsyhgz != ""){$('#operator_dyclsyhgz').val(d.operatorDyclsyhgz);}
						  if(null != d.nameOperatorDyclsyhgz && d.nameOperatorDyclsyhgz != ""){$('#name_operator_dyclsyhgz').val(d.nameOperatorDyclsyhgz);}
						  $('#time_dyclsyhgz').val(d.timeDyclsyhgz ? formateToDate(d.timeDyclsyhgz) : '');
						  
						  $('#date_dyclyhgzfh').val(d.dateDyclyhgzfh ? formateToDate(d.dateDyclyhgzfh) : '');
						  if(null != d.operatorDyclyhgzfh && d.operatorDyclyhgzfh != ""){$('#operator_dyclyhgzfh').val(d.operatorDyclyhgzfh);}
						  if(null != d.nameOperatorDyclyhgzfh && d.nameOperatorDyclyhgzfh != ""){$('#name_operator_dyclyhgzfh').val(d.nameOperatorDyclyhgzfh);}
						  $('#time_dyclyhgzfh').val(d.timeDyclyhgzfh ? formateToDate(d.timeDyclyhgzfh) : '');
						  
						  $('#date_dyclsdyry').val(d.dateDyclsdyry ? formateToDate(d.dateDyclsdyry) : '');
						  if(null != d.operatorDyclsdyry && d.operatorDyclsdyry != ""){$('#operator_dyclsdyry').val(d.operatorDyclsdyry);}
						  if(null != d.nameOperatorDyclsdyry && d.nameOperatorDyclsdyry != ""){$('#name_operator_dyclsdyry').val(d.nameOperatorDyclsdyry);}
						  $('#time_dyclsdyry').val(d.timeDyclsdyry ? formateToDate(d.timeDyclsdyry) : '');

						  $('#date_dywcdjzsfh').val(d.dateDywcdjzsfh ? formateToDate(d.dateDywcdjzsfh) : '');
						  if(null != d.operatorDywcdjzsfh && d.operatorDywcdjzsfh != ""){$('#operator_dywcdjzsfh').val(d.operatorDywcdjzsfh);}
						  if(null != d.nameOperatorDywcdjzsfh && d.nameOperatorDywcdjzsfh != ""){$('#name_operator_dywcdjzsfh').val(d.nameOperatorDywcdjzsfh);}
						  $('#time_dywcdjzsfh').val(d.timeDywcdjzsfh ? formateToDate(d.timeDywcdjzsfh) : '');

						  $('#date_dywcqzyjyh').val(d.dateDywcqzyjyh ? formateToDate(d.dateDywcqzyjyh) : '');
						  if(null != d.operatorDywcqzyjyh && d.operatorDywcqzyjyh != ""){$('#operator_dywcqzyjyh').val(d.operatorDywcqzyjyh);}
						  if(null != d.nameOperatorDywcqzyjyh && d.nameOperatorDywcqzyjyh != ""){$('#name_operator_dywcqzyjyh').val(d.nameOperatorDywcqzyjyh);}
						  $('#time_dywcqzyjyh').val(d.timeDywcqzyjyh ? formateToDate(d.timeDywcqzyjyh) : '');
					  }	    
					  
					  var dm = datas.dzMortgage;
					  
					  if(null != dm && dm != "")
					  {
						  $('#dzMortgage_id').val(dm.replaceId);
						  $('#replaceId').val(dm.replaceId);
						  $('#status_mortgage_info').val(dm.statusMortgageInfo);
						  $("#statusMortgage").text(dm.statusMortgageDisplay);
						  $("#dateMortgage").text(formateToDate(dm.dateMortgage));
						  $("#remarks").text(dm.remarks);
						  var status_mortgage_info = $('#status_mortgage_info').val();
						  if(status_mortgage_info == "20")
						  {
							  $('#upBaoCun1').hide();
							  $('#upBaoCun2').hide();
							  $('#upBaoCun3').hide();
							  $('#upBaoCun4').hide();
							  $('#upBaoCun5').hide();
							  $('#upBaoCun6').hide();
							  $('#upBaoCun7').hide();
							  $('#upBaoCun8').hide();
							  $('#upBaoCun9').hide();
							  $('#upBaoCun10').hide();
							  $('#upBaoCun11').hide();
							  $('#upBaoCun12').hide();
							  $('#upBaoCun13').hide();
							  $('#upBaoCun14').hide();
							  $('#upBaoCun15').hide();
							  $('#upBaoCun16').hide();
							  $('#upBaoCun17').hide();
							  
							  $('#empty1').hide();		
							  $('#empty2').hide();
							  $('#empty3').hide();
							  $('#empty4').hide();
							  $('#empty5').hide();
							  $('#empty6').hide();
							  $('#empty7').hide();
							  $('#empty8').hide();
							  $('#empty9').hide();
							  $('#empty10').hide();
							  $('#empty11').hide();
							  $('#empty12').hide();
							  $('#empty13').hide();
							  $('#empty14').hide();
							  $('#empty15').hide();
							  $('#empty16').hide();
							  $('#empty17').hide();
							  $('#button4').attr("disabled","disabled");
						  }
					  }
    		     }
	    	});
	    }
	    
	    
	    var up = function(index,type)
	    {
	    	var busiId = $('#busiId').val();
	    	var id = $('#id').val();
	    	if(index == "1")
	    	{
	    		var date_djzsyj = $('#date_djzsyj').val();
	    		var operator_djzsyj = $('#operator_djzsyj').val();
	    		var name_operator_djzsyj = $('#name_operator_djzsyj').val();
	    		var time_djzsyj = $('#time_djzsyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDjzsyj":date_djzsyj,
	    			"operatorDjzsyj":operator_djzsyj,
	    			"nameOperatorDjzsyj":name_operator_djzsyj,
	    			"timeDjzsyj":time_djzsyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "2")
	    	{
	    		var date_fpyj = $('#date_fpyj').val();
	    		var operator_fpyj = $('#operator_fpyj').val();
	    		var name_operator_fpyj = $('#name_operator_fpyj').val();
	    		var time_fpyj = $('#time_fpyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateFpyj":date_fpyj,
	    			"operatorFpyj":operator_fpyj,
	    			"nameOperatorFpyj":name_operator_fpyj,
	    			"timeFpyj":time_fpyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "3")
	    	{
	    		var date_zzzyj = $('#date_zzzyj').val();
	    		var operator_zzzyj = $('#operator_zzzyj').val();
	    		var name_operator_zzzyj = $('#name_operator_zzzyj').val();
	    		var time_zzzyj = $('#time_zzzyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateZzzyj":date_zzzyj,
	    			"operatorZzzyj":operator_zzzyj,
	    			"nameOperatorZzzyj":name_operator_zzzyj,
	    			"timeZzzyj":time_zzzyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "4")
	    	{
	    		var date_sybxyj = $('#date_sybxyj').val();
	    		var operator_sybxyj = $('#operator_sybxyj').val();
	    		var name_operator_sybxyj = $('#name_operator_sybxyj').val();
	    		var time_sybxyj = $('#time_sybxyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateSybxyj":date_sybxyj,
	    			"operatorSybxyj":operator_sybxyj,
	    			"nameOperatorSybxyj":name_operator_sybxyj,
	    			"timeSybxyj":time_sybxyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "5")
	    	{
	    		var date_jqxbdyj = $('#date_jqxbdyj').val();
	    		var operator_jqxbdyj = $('#operator_jqxbdyj').val();
	    		var name_operator_jqxbdyj = $('#name_operator_jqxbdyj').val();
	    		var time_jqxbdyj = $('#time_jqxbdyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateJqxbdyj":date_jqxbdyj,
	    			"operatorJqxbdyj":operator_jqxbdyj,
	    			"nameOperatorJqxbdyj":name_operator_jqxbdyj,
	    			"timeJqxbdyj":time_jqxbdyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "6")
	    	{
	    		var date_xszfyj = $('#date_xszfyj').val();
	    		var operator_xszfyj = $('#operator_xszfyj').val();
	    		var name_operator_xszfyj = $('#name_operator_xszfyj').val();
	    		var time_xszfyj = $('#time_xszfyj').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateXszfyj":date_xszfyj,
	    			"operatorXszfyj":operator_xszfyj,
	    			"nameOperatorXszfyj":name_operator_xszfyj,
	    			"timeXszfyj":time_xszfyj,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "7")
	    	{
	    		var date_gzclsyhgz = $('#date_gzclsyhgz').val();
	    		var operator_gzclsyhgz = $('#operator_gzclsyhgz').val();
	    		var name_operator_gzclsyhgz = $('#name_operator_gzclsyhgz').val();
	    		var time_gzclsyhgz = $('#time_gzclsyhgz').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateGzclsyhgz":date_gzclsyhgz,
	    			"operatorGzclsyhgz":operator_gzclsyhgz,
	    			"nameOperatorGzclsyhgz":name_operator_gzclsyhgz,
	    			"timeGzclsyhgz":time_gzclsyhgz,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "8")
	    	{
	    		var date_gzclyhgzfh = $('#date_gzclyhgzfh').val();
	    		var operator_gzclyhgzfh = $('#operator_gzclyhgzfh').val();
	    		var name_operator_gzclyhgzfh = $('#name_operator_gzclyhgzfh').val();
	    		var time_gzclyhgzfh = $('#time_gzclyhgzfh').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateGzclyhgzfh":date_gzclyhgzfh,
	    			"operatorGzclyhgzfh":operator_gzclyhgzfh,
	    			"nameOperatorGzclyhgzfh":name_operator_gzclyhgzfh,
	    			"timeGzclyhgzfh":time_gzclyhgzfh,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "9")
	    	{
	    		var date_gzclsgzc = $('#date_gzclsgzc').val();
	    		var operator_gzclsgzc = $('#operator_gzclsgzc').val();
	    		var name_operator_gzclsgzc = $('#name_operator_gzclsgzc').val();
	    		var time_gzclsgzc = $('#time_gzclsgzc').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateGzclsgzc":date_gzclsgzc,
	    			"operatorGzclsgzc":operator_gzclsgzc,
	    			"nameOperatorGzclsgzc":name_operator_gzclsgzc,
	    			"timeGzclsgzc":time_gzclsgzc,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	

	    	if(index == "10")
	    	{
	    		var date_gzcgzhtfh = $('#date_gzcgzhtfh').val();
	    		var operator_gzcgzhtfh = $('#operator_gzcgzhtfh').val();
	    		var name_operator_gzcgzhtfh = $('#name_operator_gzcgzhtfh').val();
	    		var time_gzcgzhtfh = $('#time_gzcgzhtfh').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateGzcgzhtfh":date_gzcgzhtfh,
	    			"operatorGzcgzhtfh":operator_gzcgzhtfh,
	    			"nameOperatorGzcgzhtfh":name_operator_gzcgzhtfh,
	    			"timeGzcgzhtfh":time_gzcgzhtfh,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "11")
	    	{
	    		var date_gzjdyclfhgs = $('#date_gzjdyclfhgs').val();
	    		var operator_gzjdyclfhgs = $('#operator_gzjdyclfhgs').val();
	    		var name_operator_gzjdyclfhgs = $('#name_operator_gzjdyclfhgs').val();
	    		var time_gzjdyclfhgs = $('#time_gzjdyclfhgs').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateGzjdyclfhgs":date_gzjdyclfhgs,
	    			"operatorGzjdyclfhgs":operator_gzjdyclfhgs,
	    			"nameOperatorGzjdyclfhgs":name_operator_gzjdyclfhgs,
	    			"timeGzjdyclfhgs":time_gzjdyclfhgs,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "12")
	    	{
	    		var date_sjgz = $('#date_sjgz').val();
	    		var operator_sjgz = $('#operator_sjgz').val();
	    		var name_operator_sjgz = $('#name_operator_sjgz').val();
	    		var time_sjgz = $('#time_sjgz').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateSjgz":date_sjgz,
	    			"operatorSjgz":operator_sjgz,
	    			"nameOperatorSjgz":name_operator_sjgz,
	    			"timeSjgz":time_sjgz,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "13")
	    	{
	    		var date_dyclsyhgz = $('#date_dyclsyhgz').val();
	    		var operator_dyclsyhgz = $('#operator_dyclsyhgz').val();
	    		var name_operator_dyclsyhgz = $('#name_operator_dyclsyhgz').val();
	    		var time_dyclsyhgz = $('#time_dyclsyhgz').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDyclsyhgz":date_dyclsyhgz,
	    			"operatorDyclsyhgz":operator_dyclsyhgz,
	    			"nameOperatorDyclsyhgz":name_operator_dyclsyhgz,
	    			"timeDyclsyhgz":time_dyclsyhgz,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "14")
	    	{
	    		var date_dyclyhgzfh = $('#date_dyclyhgzfh').val();
	    		var operator_dyclyhgzfh = $('#operator_dyclyhgzfh').val();
	    		var name_operator_dyclyhgzfh = $('#name_operator_dyclyhgzfh').val();
	    		var time_dyclyhgzfh = $('#time_dyclyhgzfh').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDyclyhgzfh":date_dyclyhgzfh,
	    			"operatorDyclyhgzfh":operator_dyclyhgzfh,
	    			"nameOperatorDyclyhgzfh":name_operator_dyclyhgzfh,
	    			"timeDyclyhgzfh":time_dyclyhgzfh,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "15")
	    	{
	    		var date_dyclsdyry = $('#date_dyclsdyry').val();
	    		var operator_dyclsdyry = $('#operator_dyclsdyry').val();
	    		var name_operator_dyclsdyry = $('#name_operator_dyclsdyry').val();
	    		var time_dyclsdyry = $('#time_dyclsdyry').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDyclsdyry":date_dyclsdyry,
	    			"operatorDyclsdyry":operator_dyclsdyry,
	    			"nameOperatorDyclsdyry":name_operator_dyclsdyry,
	    			"timeDyclsdyry":time_dyclsdyry,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "16")
	    	{
	    		var date_dywcdjzsfh = $('#date_dywcdjzsfh').val();
	    		var operator_dywcdjzsfh = $('#operator_dywcdjzsfh').val();
	    		var name_operator_dywcdjzsfh = $('#name_operator_dywcdjzsfh').val();
	    		var time_dywcdjzsfh = $('#time_dywcdjzsfh').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDywcdjzsfh":date_dywcdjzsfh,
	    			"operatorDywcdjzsfh":operator_dywcdjzsfh,
	    			"nameOperatorDywcdjzsfh":name_operator_dywcdjzsfh,
	    			"timeDywcdjzsfh":time_dywcdjzsfh,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    	
	    	if(index == "17")
	    	{
	    		var date_dywcqzyjyh = $('#date_dywcqzyjyh').val();
	    		var operator_dywcqzyjyh = $('#operator_dywcqzyjyh').val();
	    		var name_operator_dywcqzyjyh = $('#name_operator_dywcqzyjyh').val();
	    		var time_dywcqzyjyh = $('#time_dywcqzyjyh').val();
	    		tijiao({
	    			"id":id,
	    			"cusId":"${current_user_key.id}",
	    			"busiId":busiId,
	    			"dateDywcqzyjyh":date_dywcqzyjyh,
	    			"operatorDywcqzyjyh":operator_dywcqzyjyh,
	    			"nameOperatorDywcqzyjyh":name_operator_dywcqzyjyh,
	    			"timeDywcqzyjyh":time_dywcqzyjyh,
	    			"index":index,
	    			"type":type
	    		});
	    		$("#upBaoCun"+index).addClass("btn dpbtn_green");
	    		return;
	    	}
	    }
	    
	    var tijiao = function(data)
	    {
	    	$.dpAjax({
	    		url:'${basePath}/DaiZhongYwController/daiZhongYwDiYaQueRrnSubSave',
	    		data:data,
	    		success: function(datas)
	    		{
	    			layer.msg("执行成功！", {icon: 6});
	    			initData();
    		     }
	    	});
	    }
	    
    </script>
</body>
</html>
